gi: Skip gtk_custom_layout_new()
authorEmmanuele Bassi <ebassi@gnome.org>
Tue, 11 Feb 2020 17:29:56 +0000 (17:29 +0000)
committerEmmanuele Bassi <ebassi@gnome.org>
Thu, 13 Feb 2020 14:53:25 +0000 (14:53 +0000)
The whole GtkCustomLayout class is mostly a C convenience API, and
there's no reason why high level languages should use it.

gtk/gtkcustomlayout.c

index 2616a21df40564c62f11c8b4b623bdb8edd615cd..13f14488ec8f0b234cbe42f6c8022c3aa7c6d5e7 100644 (file)
@@ -96,12 +96,12 @@ gtk_custom_layout_init (GtkCustomLayout *self)
 }
 
 /**
- * gtk_custom_layout_new:
+ * gtk_custom_layout_new: (constructor) (skip)
  * @request_mode: (nullable): a function to retrieve
  *   the #GtkSizeRequestMode of the widget using the layout; the
  *   default request mode is %GTK_SIZE_REQUEST_CONSTANT_SIZE
- * @measure: a function to measure the widget using the layout manager
- * @allocate:  a function to allocate the children of the widget using
+ * @measure: (not nullable): a function to measure the widget using the layout manager
+ * @allocate: (not nullable): a function to allocate the children of the widget using
  *   the layout manager
  *
  * Creates a new legacy layout manager.